﻿
using System;
using System.Collections.Generic;
using System.Text;
using Pub.Class;

namespace GTS.MiniBox.Entity {
    public partial class ChannelRule : CityInfo {
        private string day = null;
        /// <summary>
        /// 日期
        /// </summary>
        [EntityInfo("日期")]
        public new string Day { get { return day; } set { day = value; } }
    }
    public partial class ChannelRuleDay : CityInfo {
        private string day = null;
        /// <summary>
        /// 日期
        /// </summary>
        [EntityInfo("日期")]
        public new string Day { get { return day; } set { day = value; } }
    }
    public partial class ChannelRuleHour : CityInfo {
        private string day = null;
        /// <summary>
        /// 日期
        /// </summary>
        [EntityInfo("日期")]
        public new string Day { get { return day; } set { day = value; } }
    }
    public partial class ChannelRule : CityInfo { 
        private int? sendMOMoney = null;
        /// <summary>
        /// 通道已发送日总量
        /// </summary>
        [EntityInfo("通道已发送日总量")]
        public new int? SendMOMoney { get { return sendMOMoney; } set { sendMOMoney = value; } }
        private int? userDaySendMOMoney = null;
        /// <summary>
        /// 当前用户当天已发送
        /// </summary>
        [EntityInfo("当前用户当天已发送")]
        public new int? UserDaySendMOMoney { get { return userDaySendMOMoney; } set { userDaySendMOMoney = value; } }
        private int? userMonthSendMOMoney = null;
        /// <summary>
        /// 当前用户当天已发送
        /// </summary>
        [EntityInfo("当前用户当月已发送")]
        public new int? UserMonthSendMOMoney { get { return userMonthSendMOMoney; } set { userMonthSendMOMoney = value; } }
        private int? userMonthSendMRMoney = null;
        /// <summary>
        /// 当前用户当天已发送
        /// </summary>
        [EntityInfo("当前用户当月已收到发送")]
        public new int? UserMonthSendMRMoney { get { return userMonthSendMRMoney; } set { userMonthSendMRMoney = value; } }
    }

    public partial class MonthMRInfo {

        private string area = null;
        /// <summary>
        /// 区域（省或者市)
        /// </summary>
        [EntityInfo("区域（省或者市)")]
        public string Area { get { return area; } set { area = value; } }

        private int? realNum = null;
        /// <summary>
        /// 实际人数
        /// </summary>
        [EntityInfo("实际人数")]
        public new int? RealNum { get { return realNum; } set { realNum = value; } }

        private int? realMoney = null;
        /// <summary>
        /// 实际收入
        /// </summary>
        [EntityInfo("实际收入")]
        public new int? RealMoney { get { return realMoney; } set { realMoney = value; } }

        private int? theoryNum = null;
        /// <summary>
        /// 理论人数
        /// </summary>
        [EntityInfo("理论人数")]
        public new int? TheoryNum { get { return theoryNum; } set { theoryNum = value; } }

        private int? theoryMoney = null;
        /// <summary>
        /// 理论收入
        /// </summary>
        [EntityInfo("理论收入")]
        public new int? TheoryMoney { get { return theoryMoney; } set { theoryMoney = value; } }

        private decimal? numRate = null;
        /// <summary>
        /// 人数比
        /// </summary>
        [EntityInfo("人数比")]
        public new decimal? NumRate { get { return numRate; } set { numRate = value; } }

        private decimal? moneyRate = null;
        /// <summary>
        /// 金额比
        /// </summary>
        [EntityInfo("金额比")]
        public new decimal? MoneyRate { get { return moneyRate; } set { moneyRate = value; } }

        private int? mrNum = null;
        /// <summary>
        /// MR完成人数
        /// </summary>
        [EntityInfo("MR完成人数")]
        public new int? MrNum { get { return mrNum; } set { mrNum = value; } }

        private int? two = null;
        /// <summary>
        /// MR完成人数(2元)
        /// </summary>
        [EntityInfo("MR完成人数(2元)")]
        public new int? Two { get { return two; } set { two = value; } }

        private int? four = null;
        /// <summary>
        /// MR完成人数(4元)
        /// </summary>
        [EntityInfo("MR完成人数(4元)")]
        public new int? Four { get { return four; } set { four = value; } }

        private int? eight = null;
        /// <summary>
        /// MR完成人数(8元)
        /// </summary>
        [EntityInfo("MR完成人数(8元)")]
        public new int? Eight { get { return eight; } set { eight = value; } }

        private int? sixteen = null;
        /// <summary>
        /// MR完成人数(16元)
        /// </summary>
        [EntityInfo("MR完成人数(16元)")]
        public new int? Sixteen { get { return sixteen; } set { sixteen = value; } }
    }

    public partial class OriginLogInfo {

        private int? groupID = null;
        /// <summary>
        /// 批次或者省份ID
        /// </summary>
        [EntityInfo("批次或者省份ID")]
        public new int? GroupID { get { return groupID; } set { groupID = value; } }

        private int? sendNum = null;
        /// <summary>
        /// 发送人数
        /// </summary>
        [EntityInfo("发送人数")]
        public new int? SendNum { get { return sendNum; } set { sendNum = value; } }

        private int? sendMoney = null;
        /// <summary>
        /// 发送金额
        /// </summary>
        [EntityInfo("发送金额")]
        public new int? SendMoney { get { return sendMoney; } set { sendMoney = value; } }

        private int? receiveNum = null;
        /// <summary>
        /// 接收人数
        /// </summary>
        [EntityInfo("接收人数")]
        public new int? ReceiveNum { get { return receiveNum; } set { receiveNum = value; } }

        private int? receiveMoney = null;
        /// <summary>
        /// 接收金额
        /// </summary>
        [EntityInfo("接收金额")]
        public new int? ReceiveMoney { get { return receiveMoney; } set { receiveMoney = value; } }

        private decimal? numRate = null;
        /// <summary>
        /// 人数比
        /// </summary>
        [EntityInfo("人数比")]
        public new decimal? NumRate { get { return numRate; } set { numRate = value; } }

        private decimal? moneyRate = null;
        /// <summary>
        /// 金额比
        /// </summary>
        [EntityInfo("金额比")]
        public new decimal? MoneyRate { get { return moneyRate; } set { moneyRate = value; } }

        private DateTime day;
        /// <summary>
        /// 日期
        /// </summary>
        [EntityInfo("日期")]
        public DateTime Day { get { return day; } set { day = value; } }
    }

    public partial class OriginVersionInfo {

        private int? originID = null;
        /// <summary>
        /// 批次ID
        /// </summary>
        [EntityInfo("批次ID")]
        public new int? OriginID { get { return originID; } set { originID = value; } }

        private string version = null;
        /// <summary>
        /// 版本
        /// </summary>
        [EntityInfo("版本")]
        public new string Version { get { return version; } set { version = value; } }

        private int? num = null;
        /// <summary>
        /// 人数
        /// </summary>
        [EntityInfo("人数")]
        public new int? Num { get { return num; } set { num = value; } }
    }

    public partial class BusinessReportInfo {
        private int? type = null;
        /// <summary>
        /// 通道类型1:SMS 2:IVR
        /// </summary>
        [EntityInfo("通道类型1:SMS 2:IVR")]
        public int? Type { get { return type; } set { type = value; } }

        private string spCode;
        /// <summary>
        /// SP
        /// </summary>
        [EntityInfo("SP")]
        public string SPCode { get { return spCode; } set { spCode = value; } }

        private int? channelID = null;
        /// <summary>
        /// 通道ID
        /// </summary>
        [EntityInfo("通道ID")]
        public int? ChannelID { get { return channelID; } set { channelID = value; } }

        private DateTime businessDate;
        /// <summary>
        /// 时间
        /// </summary>
        [EntityInfo("时间")]
        public DateTime BusinessDate { get { return businessDate; } set { businessDate = value; } }

        private string longPhone;
        /// <summary>
        /// 长号码
        /// </summary>
        [EntityInfo("长号码")]
        public string LongPhone { get { return longPhone; } set { longPhone = value; } }

        private int? cstCode = null;
        /// <summary>
        /// 运营商编号
        /// </summary>
        [EntityInfo("运营商编号")]
        public int? CstCode { get { return cstCode; } set { cstCode = value; } }

        private string instruction;
        /// <summary>
        /// 指令
        /// </summary>
        [EntityInfo("指令")]
        public string Instruction { get { return instruction; } set { instruction = value; } }

        private decimal? unitPrice = null;
        /// <summary>
        /// 单价
        /// </summary>
        [EntityInfo("单价")]
        public decimal? UnitPrice { get { return unitPrice; } set { unitPrice = value; } }

        private int? recieveNum = null;
        /// <summary>
        /// 业务接收条数
        /// </summary>
        [EntityInfo("业务接收条数")]
        public int? RecieveNum { get { return recieveNum; } set { recieveNum = value; } }

        private int? recievePerNum = null;
        /// <summary>
        /// 业务接收人数
        /// </summary>
        [EntityInfo("业务接收人数")]
        public int? RecievePerNum { get { return recievePerNum; } set { recievePerNum = value; } }

        private decimal? recievePrice = null;
        /// <summary>
        /// 业务接收金额
        /// </summary>
        [EntityInfo("业务接收金额")]
        public decimal? RecievePrice { get { return recievePrice; } set { recievePrice = value; } }

        private decimal? settlement = null;
        /// <summary>
        /// 结算单价
        /// </summary>
        [EntityInfo("结算单价")]
        public decimal? Settlement { get { return settlement; } set { settlement = value; } }

        private decimal? totalPrice = null;
        /// <summary>
        /// 结算金额
        /// </summary>
        [EntityInfo("结算金额")]
        public decimal? TotalPrice { get { return totalPrice; } set { totalPrice = value; } }

        private decimal? infoMoney = null;
        /// <summary>
        /// 结算信息费
        /// </summary>
        [EntityInfo("结算信息费")]
        public decimal? InfoMoney { get { return infoMoney; } set { infoMoney = value; } }

        private decimal? badMoney = null;
        /// <summary>
        /// 坏账费
        /// </summary>
        [EntityInfo("坏账费")]
        public decimal? BadMoney { get { return badMoney; } set { badMoney = value; } }

        private int? status = null;
        /// <summary>
        /// 状态(0未结算1已结算)
        /// </summary>
        [EntityInfo("状态")]
        public int? Status { get { return status; } set { status = value; } }

        private DateTime startTime;
        /// <summary>
        /// (缺帐)开始时间
        /// </summary>
        [EntityInfo("(缺帐)开始时间")]
        public DateTime StartTime { get { return startTime; } set { startTime = value; } }
        
        private DateTime endTime;
        /// <summary>
        /// (缺帐)结束时间
        /// </summary>
        [EntityInfo("(缺帐)结束时间")]
        public DateTime EndTime { get { return endTime; } set { endTime = value; } }

    }
}



